scUnused
#include <Sound.h>
typedef struct SCStatus{ Size Offset Description Fixed scStartTime; 4 0 starting time for play from disk Fixed scEndTime; 4 4 ending time for play from disk Fixed scCurrentTime; 4 8 current time for play from disk Boolean scChannelBusy; 2 12 TRUE if channel is making sound Boolean scChannelDisposed; 2 14 reserved Boolean scChannelPaused; 2 16 TRUE if channel is paused unsigned long scChannelAttributes; 4 20 attributes of this channel long scCPULoad; 4 24 CPU load for this channel
typedef SCStatus *SCStatusPtr;
Field descriptions
scStartTime If scChannelBusy is TRUE, then scStartTime is the
starting time in seconds for a play from disk on the
specified channel. If scChannelBusy is FALSE, then
scStartTime is 0.
scEndTime If scChannelBusy is TRUE, then scEndTime is the
ending time in seconds for a play from disk on the
specified channel. If scChannelBusy is FALSE, then
scEndTime is 0.
scCurrentTime If scChannelBusy is TRUE, then scCurrentTime is the
current time in seconds for a play from disk on the
specified channel. If scChannelBusy is FALSE, then
scCurrentTime is 0.
scChannelBusy If the specified channel is currently making sound,
then scChannelBusy is TRUE; otherwise,
scChannelBusy is FALSE.
scChannelDisposed Reserved for use by Apple.
scChannelPaused If the specified channel is paused, then
scChannelPaused is TRUE; otherwise, scChannelPaused
is FALSE.
scUnused Reserved for use by Apple.
scChannelAttributes The current attributes of the specified channel. These
attributes are in the channel initialization parameters
format.
scCPULoad The CPU load for the specified channel.
You can mask out certain values in the scChannelAttributes field to how a
channel has been initialized.
initPanMask mask for right/left pan values
initSRateMask mask for sample rate values
initStereoMask mask for mono/stereo values
initCompMask mask for compression IDs
that takes a sound-channel pointer as a parameter and determines whether a
disk-based playback on that channel is paused.